package com.sxpi.order.service.order;

import com.sxpi.common.result.R;
import com.sxpi.order.vo.BuyVo;

/**
 * @Author: 董伟豪
 * @Date: 2022/10/25 20:10
 */
public interface IOrderService {

    /**
     * 用户购买课程下课支付和扣减库存
     * @param buyVo
     * @return
     */
    R buyCourse(BuyVo buyVo);

    /**
     * 查询订单信息
     * @param orderNo
     * @return
     */
    R getOrderInfoByOrderInfo(String orderNo);
}
